//聊天对话框
.con.talk{
  padding: 0.6rem 0.75rem 4.6rem;
  font-size:0.6rem;
  display: flex;
  flex-direction: column;
  .item{
    display: flex;
    flex:1;
    margin: 0.6rem 0;
    justify-content: flex-start;
    img{
      border-radius:50%;
      height: 2.2rem;
      width: 2.2rem;
      margin-right: 0.8rem;
    }
    .talk-text{
      border:1px solid #96a395;
      border-radius:4px;
      display: flex;
      align-items: center;
      background: #B5F0F0;
      padding: 0.2rem;
      margin-right:3rem;
      position:relative;
      &:before{
        border-width: 8px 8px 8px 0;
        border-color: transparent #96a395 transparent transparent;
        content: " ";
        width: 0;
        height: 0;
        position: absolute;
        z-index: 12;
        border-style: solid;
        top: 13px;
        left:-9px;
      }
      &:after{
        border-width: 8px 8px 8px 0;
        border-color: transparent #B5F0F0 transparent transparent;
        content: " ";
        width: 0;
        height: 0;
        position: absolute;
        z-index: 12;
        border-style: solid;
        top: 13px;
        left:-8px;
      }
    }
  }
  .item.item-right{
    justify-content: flex-end;
    img{
      order:2;
      margin-right: 0;
      margin-left: 0.8rem;
    }
    .talk-text{
      order:1;
      margin-right: 0;
      margin-left: 3rem;
      &:before{
        border-width: 8px 0 8px 8px;
        border-color: transparent transparent transparent #96a395;
        position:absolute;
        top: 13px;
        left:auto;
        right:-9px;
      }
      &:after{
        border-width: 8px 0 8px 8px;
        border-color: transparent transparent transparent #B5F0F0;
        position:absolute;
        top: 13px;
        left:auto;
        right:-8px;
      }
    }
  }
}
.talk-bottom{
  background: #ffffff;
  z-index: 20;
  padding: 0.5rem;
  border-top:1px solid #ccc;
  position:fixed;
  width: 100%;
  bottom: 0;
  display: flex;
  align-items: center;
  .say{
    display: flex;
    flex:1;
    padding: 0 0.5rem;
    input{
      width: 100%;
      padding: 5px;
      border:none;
      border:1px solid #00CCFF;
    }
  }
  .face,.add{
    color:#10CFCF;
    span{
      font-size:1.6rem;
    }
  }
}